package com.peas.platform.module.icims.expenditure.expenses.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.ExpenditureReimbursementFileRepository;
import com.peas.platform.module.icims.expenditure.expenses.adapter.repository.po.ExpenditureReimbursementFilePo;
import com.peas.platform.module.icims.expenditure.expenses.domain.ExpenditureReimbursementFileDomain;
import com.peas.platform.module.icims.expenditure.expenses.dto.ExpenditureReimbursementFileDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ExpenditureReimbursementFileDomainImpl extends BaseDomainImpl<ExpenditureReimbursementFileDto, ExpenditureReimbursementFilePo> implements ExpenditureReimbursementFileDomain {

    @Resource
    private ExpenditureReimbursementFileRepository expenditureReimbursementFileRepository;

    @Override
    public BaseRepository<ExpenditureReimbursementFilePo> getMapper() {
        return expenditureReimbursementFileRepository;
    }

    @Override
    public Class<? extends BaseRepository<ExpenditureReimbursementFilePo>> getRepositoryClass() {
        return ExpenditureReimbursementFileRepository.class;
    }

}
